/**
 * Project Name:Micro-Services-RPC-Registry
 * File Name   :ClientServiceFactory.java
 * Package Name:com.micro.services.rpc.registry.support
 * Date:2015年9月7日下午11:48:11
 * Copyright (c) 2015, http://my.oschina.net/httpssl All Rights Reserved.
 *
*/

package com.micro.services.rpc.registry.support;

import java.util.Collection;
import java.util.List;

import com.micro.services.rpc.registry.ServiceNode;

/**
 * ClassName:ClientServiceFactory <br/>
 * Function :客户端Service 注册表. <br/>
 * Reason :TODO ADD REASON. <br/>
 * Date :2015年9月7日 下午11:48:11 <br/>
 * 
 * @author :http://my.oschina.net/httpssl
 * @email :491835898@QQ.COM
 * @since :JDK 1.7
 * @see
 */
public interface ClientServiceFactory
{
	Collection<String> getInterfaces();

	Collection<ServiceNode> getServiceNodes();
	
	List<ServiceNode> pullOnLineService();
	
	/**
	 * 安装一个Service接口节点
	 */
	public boolean installRegistryServiceNode(ServiceNode serviceNode);

	/**
	 * 卸载一个Service接口节点
	 */
	public boolean uninstallRegistryServiceNode(ServiceNode serviceNode);
}
